package com.xxl.job.admin.core.alarm.utils;

import com.alibaba.fastjson.JSONObject;

import java.io.IOException;

public class DingUtils {
    private static String dingurl = "https://oapi.dingtalk.com/robot/send?access_token=636eac37de23195e6a7858084826824cd82dbc6d43d0cc830652a1e9246e8066";



    public static String alarm(String caution) throws IOException {


        byte[] bytes = HttpsUtil.doPost(dingurl, caution);

        return new String(bytes);
    }
}

